<template>
  <div class="header">
    <div class="title">{{headerTitle}}</div>
  </div>
</template>

<script>
import { useStore } from "vuex"
export default {
  name: "Form",
  setup() {
    const store=useStore(),
          state=store.state,
          headerTitle=state.headerTitle;
    return {
      headerTitle
    };
  },
};
</script>

<style lang="scss" scoped>
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 0 0;
  .title {
    color: #fff;
    line-height: 40px;
    letter-spacing: 3px;
    font-size: 30px;
  }
}
</style>